﻿using dz.u9.jky.schema.Attrib;
using System.Collections.Generic;

namespace dz.u9.jky.schema.SM
{
    /// <summary>
    /// 销售价格调整
    /// </summary>
    public class DzSalePriceAdjustmentDTO
    {
        /// <summary>
        /// 单号
        /// </summary>
        public string DocNo { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        [DzSimpleObject("UFIDA.U9.Base.DTOs.IDCodeNameDTO,UFIDA.U9.Base.BaseBE")]
        public string DocumentType { get; set; } = "SDTJ0001";

        /// <summary>
        /// 销售价表
        /// </summary>
        [DzSimpleObject("UFIDA.U9.Base.DTOs.IDCodeNameDTO,UFIDA.U9.Base.BaseBE")]
        public string PriceList { get; set; }

        [DzList("UFIDA.U9.ISV.SM.SalePriceAdjustLineDTO,UFIDA.U9.ISV.SM.SDIndustryChainSV")]
        public List<DzSalePriceAdjustLineDTO> SalePriceAdjustLines { get; set; }

        [DzIgnore]
        public string Org { get; set; }
    }
}
